/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DomainModel;

/**
 *
 * @author Mershack
 */
public class StudentAndGrade {
    private User student;
    private Grade grade;

    public StudentAndGrade(User student, Grade grade) {
        this.student = student;
        this.grade = grade;
    }

    public User getStudent() {
        return student;
    }

    public void setStudentId(User student) {
        this.student = student;
    }

    public Grade getGrade() {
        return grade;
    }

    public void setGrade(Grade grade) {
        this.grade = grade;
    }
}
